package com.lxj.api;

import org.apache.http.Header;

import com.lxj.model.UserInfo;

public abstract class OnUserDetailListener implements OnApiListener{

	@Override
	public void onStart() {
		
		
	}

	@Override
	public void onFinish() {
		
		
	}

	@Override
	public void onProgress(int bytesWritten, int totalSize) {
		
		
	}

	@Override
	public void onSuccess(int statusCode, Header[] headers, byte[] aResponse) {
		
	}

	@Override
	public void onFailure(int statusCode, Header[] headers,
			byte[] errorResponse, Throwable e) {
		
	}

	public abstract void onSuccess(UserInfo aUsersInfo);
	
	public abstract void onFailure(String aResponseCode);

}
